Skip to content

Commit

Permalink
Fix double URL-encoding in media manager (FS#2403)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianheine committed Dec 18, 2011
1 parent d0674b6 commit 370d343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/media.php
Expand Up @@ -1674,7 +1674,7 @@ function media_nstree_item($item){
$ret = '';
if (!($_REQUEST['do'] == 'media'))
$ret .= '<a href="'.DOKU_BASE.'lib/exe/mediamanager.php?ns='.idfilter($item['id']).'" class="idx_dir">';
else $ret .= '<a href="'.media_managerURL(array('ns' => idfilter($item['id']), 'tab_files' => 'files'))
else $ret .= '<a href="'.media_managerURL(array('ns' => idfilter($item['id'], false), 'tab_files' => 'files'))
.'" class="idx_dir">';
$ret .= $item['label'];
$ret .= '</a>';
Expand Down

0 comments on commit 370d343

Please sign in to comment.